package com.kc.sys.service.impl;

import com.kc.sys.domain.Station;
import com.kc.sys.mapper.StationMapper;
import com.kc.sys.service.StationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 老杜
 * @since 2019-10-21
 */
@Service
@Transactional
public class StationServiceImpl extends ServiceImpl<StationMapper, Station> implements StationService {


    @Override
    public Station getById(Serializable id) {
        return super.getById(id);
    }

    @Override
    public boolean save(Station entity) {
        return super.save(entity);
    }

    @Override
    public boolean updateById(Station dept) {
        return super.updateById(dept);
    }

    @Override
    public boolean removeById(Serializable id) {
        return super.removeById(id);
    }
}
